.pg4-container {
  padding: 24px;
  background: #f0f2f5;
  min-height: 100vh;
}

.pg4-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

  h2 {
    margin-bottom: 24px;
    font-size: 18px;
    color: #333;
  }
}

.pg4-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pg4-form-full {
  grid-column: 1 / -1;
}

.pg4-table-section {
  margin-top: 24px;

  h3 {
    margin-bottom: 16px;
    font-size: 16px;
    color: #333;
  }
}

.pg4-actions {
  margin-top: 24px;
  text-align: right;

  button {
    margin-left: 8px;
  }
}

/* 页面容器样式 */
.modal-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

/* 页面头部样式 */
.modal-header {
  position: relative;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f8f8;
}

.modal-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.modal-close {
  width: 20px;
  height: 20px;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  color: #666;
  background: transparent;
  border: none;
}

.modal-close:hover {
  color: #333;
}

/* 页面内容区样式 */
.modal-body {
  padding: 24px;
  flex: 1;
}

/* 页面底部样式 */
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* 按钮样式 */
.btn {
  padding: 0 16px;
  height: 32px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn-default {
  background-color: #fff;
  border-color: #d9d9d9;
}

.btn-primary {
  background-color: #1890ff;
  color: #fff;
} 